<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:101:"D:\development\2C8BF558-3886-40A2-B2B6-E724420FD872\public/../application/index\view\Index\group.html";i:1502195072;s:103:"D:\development\2C8BF558-3886-40A2-B2B6-E724420FD872\public/../application/index\view\common\header.html";i:1502067259;s:103:"D:\development\2C8BF558-3886-40A2-B2B6-E724420FD872\public/../application/index\view\common\footer.html";i:1502002131;}*/ ?>
<!DOCTYPE html>
<html>
<head>
	<link rel="stylesheet" type="text/css" href="<?php echo STATIC_PATH; ?>/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo STATIC_PATH; ?>/css/index.css">
<link rel="stylesheet" type="text/css" href="<?php echo STATIC_PATH; ?>/css/font.css">
<!-- <script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/jquery.cookie.js"></script> -->
<script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/bootstrap.min.js"></script>
<script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/index.js"></script>
	<title>管理界面</title>
</head>
<body class="run-bg">
  <div class="run-header">
    <a href="<?php echo url('Index/cancel'); ?>">
      <button type="button" class="btn btn-primary" style="width:5%;float: right;">注销</button>
    </a>
  </div>
  <div class="run-main">
    <div class="run-main-left">
      <div class="run-main-left-menu">
        <span class="glyphicon glyphicon-th" style="font-size: 20px"></span>
        <span class="run-main-left-menu-font">主菜单</span>
      </div>
      <a href="text.html">
      <div class="run-main-left-div">
        <span class="glyphicon glyphicon-home"></span>
        <span>首页</span>
      </div>      
      </a>
      <a href="user.html">
      <div class="run-main-left-div">
        <span class="glyphicon glyphicon-user"></span>
        <span>用户管理</span>
      </div>
      </a>
      <a href="adduser.html">
      <div class="run-main-left-div">
        <span class="glyphicon glyphicon-check"></span>
        <span>添加用户</span>
      </div>
      </a>
      <div class="run-main-left-div" style="background-color: yellow">
        <span class="glyphicon glyphicon-hand-right"></span>
        <span>分组管理</span>
      </div>
    </div> 
  	<div class="run-main-right">
  	  <span>当前位置：分组管理</span>
      <br><br>
      <div class="group-user-list">
        <div class="group-list-header">
            <span class="group-num">当前组数：3</span>
          <form action="<?php echo url('Index/selectGroupName'); ?>" method="GET">
            <div class="input-group">
              <span class="input-group-addon">用户搜索</span>
              <input type="text" class="form-control" style="width: 60%;margin-right:2%;" name="nickname">
              <button type="submit" class="btn btn-primary">搜索</button>
            </div>
          </form>
        </div>

        <div id="group-list-main">
          <div class="list-group">
            <span class="list-group-item active list-group-item-heading group" style="width: 60%;" id="1">
              粉丝列表(<?php echo $user[0]['num']; ?>人)
            </span>
            <div class="list-one" id="4">
              <?php if(is_array($usermessage) || $usermessage instanceof \think\Collection || $usermessage instanceof \think\Paginator): $i = 0; $__LIST__ = $usermessage;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?>
                <div class="list-group-item" id=<?php echo $list['openid']; ?> style="width: 60%;">
                  <img src="<?php echo $list['headimgurl']; ?>" width="50px;">
                  昵称：<?php echo $list['nickname']; ?>
                  <div class="group-list-usermain" id=a<?php echo $list['openid']; ?>>
                    <div class="list-group-item list-group-item-heading active">移动至</div>
                    <a href="<?php echo url('Wechat/groupUpdate'); ?>?openid=<?php echo $list['openid']; ?>&beforeid=101&nowid=100">
                      <div class="list-group-item">SNC</div>
                    </a>
                    <!-- <div class="list-group-item">粉丝</div> -->
                  </div>
                </div>
              <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <span class="list-group-item active list-group-item-heading group" style="width: 60%;" id="2">
              SNC列表(<?php echo $user1[0]['num']; ?>人)
            </span>
            <div class="list-one" id="5">
              <?php if(is_array($snc) || $snc instanceof \think\Collection || $snc instanceof \think\Paginator): $i = 0; $__LIST__ = $snc;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?>
                <div class="list-group-item" id=<?php echo $list['openid']; ?> style="width: 60%;">
                  <img src="<?php echo $list['headimgurl']; ?>" width="50px;">
                  昵称：<?php echo $list['nickname']; ?>
                  <div class="group-list-usermain" id=a<?php echo $list['openid']; ?>>
                    <div class="list-group-item list-group-item-heading active">移动至</div>
                    <a href="<?php echo url('Wechat/groupUpdate'); ?>?openid=<?php echo $list['openid']; ?>&beforeid=100&nowid=101">
                      <div class="list-group-item">粉丝</div>
                    </a>
                    <!-- <div class="list-group-item">粉丝</div> -->
                  </div>
                </div>
              <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <span class="list-group-item active list-group-item-heading group" style="width: 60%;" id="3">
              运营者列表(<?php echo $user2[0]['num']; ?>人)
            </span>
            <div class="list-one" id="6">
              <?php if(is_array($admin) || $admin instanceof \think\Collection || $admin instanceof \think\Paginator): $i = 0; $__LIST__ = $admin;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?>
                <div class="list-group-item" id=<?php echo $list['openid']; ?> style="width: 60%;">
                  <img src="<?php echo $list['headimgurl']; ?>" width="50px;">
                  昵称：<?php echo $list['nickname']; ?>
                  <div class="group-list-usermain" id=a<?php echo $list['openid']; ?>>
                    <div class="list-group-item list-group-item-heading active">无法移动</div>
                    <!-- <div class="list-group-item">粉丝</div> -->
                  </div>
                </div>
              <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            </div>
          </div>
        </div>
      </div>
  	</div>
 <nav class="navbar navbar-fixed-bottom adjust-footer">
    <div class="container">
        <p class="text-center text-primary">
            Copyright © 学生网络中心 Student Network Center
        </p>
    </div>
</nav>


</body>
</html>